<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{log_name} : {log_account_no}</title>
<link rel="shortcut icon" href="{dir_image}favicon.ico">
<link rel="stylesheet" type="text/css" href="{dir_css}Global.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Popup.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Dean.css" />

<script type="text/javascript" src="{dir_js}jquery.min.js"></script>
<script type="text/javascript" src="{dir_js}Global.js"></script>
<script type="text/javascript">
	
	$(document).ready(function() {
		isLab();
	});
	
	function isLab() {
		var txtlab = $('#txtlab');
		if ( $('#lab').is(':checked') == true )
			txtlab.val(1);
		else
			txtlab.val(0);
	}


	function deleteRooms(strRoomID) {
			$.post('request.php', {AJAXPost:'DeleteRoom', room_id:strRoomID}, function() {
				window.location.href = window.location.href;
			});
		}

</script>



</head>

<body>
<!-- POPUP -->{page_popup}<!-- POPUP END -->
<!-- TOP HEADER -->{page_header}<!-- TOP HEADER END -->
	<div class="main-content">
	
		<table width="0" border="0" cellspacing="0" cellpadding="0">
			<tr valign="top" align="left">
				<td width="220">
					{dean_sub_menu}
				</td>
				<td width="755">
					<div class="page-sub-content">
					
					<div class="ann-top-label">Department of {dept_course}</div>
					
					<form method="post" enctype="multipart/form-data" action="">
							<table width="" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td height="32" width="75">Room<span class="required-field">*</span></td>
									<td width="13">:</td>
									<td width="592"><input type="text" name="txtroom" class="announce-text-input"/> <span class="required-field">{w_txtroom}</span></td>
								</tr>
								<tr>
									<td height="32"></td>
									<td></td>
									<td><input type="hidden" id="txtlab" name="txtlab" value="0"/>
										<label for="lab" class="cursor-pointer">
											<input type="checkbox" id="lab" name="lab" onclick="isLab();" {lab}/> <span class="required-field-blue">Laboratory Room?</span>
										</label>
									</td>
								</tr>
								<tr valign="top">
									<td height="50" colspan="2"></td>
									<td><input type="submit" name="subButton" class="submit-input" value="Save"/></td>
								</tr>
							</table>
						</form>
					
					
					<table width="750" border="0" cellspacing="0" cellpadding="0">
						<tr class="tr-header">
							<td width="20" class="td-label">&nbsp;</td>
							<td width="20" class="td-label">&nbsp;</td>
							<td width="160" class="td-label">Rooms</td>
							<td width="550" class="td-label"></td>
						</tr>
						<!-- BEGIN rooms -->
							<tr {bgcolor} class="hover-light">
								<td class="td-record">{ed_button}</td>
								<td class="td-record"><strong>{numbering}.</strong></td>
								<td class="td-record">{room}</td>
								<td class="td-record"><em>{type}</em></td>
							</tr>
						<!-- END rooms -->
						
						<tr><td colspan="5" height="5"></td></tr>
						<tr>
							<td colspan="5" height="50"></td>
						</tr>
					</table>
					</div>
				</td>
			</tr>
		</table>
		
	</div>
<!-- FOOTER -->{page_footer}<!-- FOOTER -->
</body>
</html>
